package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 律师的可服务时间对象 lawyer_time
 * 
 * @author liwenjing
 * @date 2021-05-20
 */
public class LawyerTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 律师编码 */
    @Excel(name = "律师编码")
    private String lawyerCode;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeDate;

    /** 时间段 */
    @Excel(name = "时间段")
    private String timeArray;

    /** 已被选择的时间段 */
    private String selectTime;


    public String getSelectTime() {
        return selectTime;
    }

    public void setSelectTime(String selectTime) {
        this.selectTime = selectTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLawyerCode(String lawyerCode) 
    {
        this.lawyerCode = lawyerCode;
    }

    public String getLawyerCode() 
    {
        return lawyerCode;
    }
    public void setTimeDate(Date timeDate) 
    {
        this.timeDate = timeDate;
    }

    public Date getTimeDate() 
    {
        return timeDate;
    }
    public void setTimeArray(String timeArray) 
    {
        this.timeArray = timeArray;
    }

    public String getTimeArray() 
    {
        return timeArray;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lawyerCode", getLawyerCode())
            .append("timeDate", getTimeDate())
            .append("timeArray", getTimeArray())
            .toString();
    }
}
